package com.strategy.demo1;

public class ReceiptService {


    public void processingType(String type) {
        if (type.equals("MT1101")) {
            System.out.println("执行MT1101报文逻辑");
        } else if (type.equals("MT2101")) {
            System.out.println("执行MT2101报文逻辑");
        } else if (type.equals("MT4101")) {
            System.out.println("执行MT4101报文逻辑");
        } else if (type.equals("MT8104")) {
            System.out.println("执行MT8104报文逻辑");
        }
    }
}
